package com.recipedb.recipedb.service;

import com.recipedb.recipedb.entity.RecipeCategory;
import com.recipedb.recipedb.entity.RecipeCategoryId;
import java.util.List;
import java.util.Optional;

public interface RecipeCategoryService {
    RecipeCategory save(RecipeCategory entity);
    void deleteById(RecipeCategoryId id);
    Optional<RecipeCategory> findById(RecipeCategoryId id);
    List<RecipeCategory> findAll();
}
